<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
 <meta http-equiv="content-style-type" content="text/css" />
 <meta name="author" content="Wilbert Dijkhof, Arlsair" />
 <meta name="date" content="2003-07-09" />
 <title>MergeChannels AviSynth Filter</title>
 <link rel="stylesheet" type="text/css" href="../../style.css" />
 <style type="text/css">td {vertical-align:top;}</style>
</head><body>
<h3><a name="MergeChannels"></a>MergeChannels</h3>

<tt>MergeChannels(</tt><i>clip1 , clip2 [, clip3, ...]</i><tt>)</tt><br />
<br />
Seit AviSynth v2.5 ersetzt <tt>MergeChannels</tt> <a href="monotostereo.htm"><tt>MonoToStereo</tt></a> und kann genutzt werden, um die Tonkan&auml;le zweier oder mehrerer Clips zu mischen.<br />
<br />
<table border="1" width="75%">
 <tr>
  <td>
   <tt>
    Beispiele:<br />
    <br />
    # Konvertiert eine unkomprimierte WAV Datei in ein 44.1 kHz Stereo Signal:<br />
    video = AviSource(&quot;C:\Dateiname.avi&quot;)<br />
    audio = WavSource(&quot;C:\Dateiname.avi&quot;)<br />
    l_ch = GetChannel(audio, 1)<br />
    r_ch = GetChannel(audio, 2)<br />
    stereo = MergeChannels(l_ch, r_ch).ResampleAudio(44100)<br />
    return AudioDub(video, stereo)<br />
    <br />
    # Alternativ:<br />
    video = AviSource(&quot;C:\Dateiname.avi&quot;)<br />
    audio = WavSource(&quot;C:\Dateiname.avi&quot;)<br />
    stereo = GetChannel(audio, 1, 2).ResampleAudio(44100)<br />
    return AudioDub(video, stereo)
   </tt>
  </td>
 </tr>
</table>
<br />
<form action=""><input type="button" value="Zur&uuml;ck" onclick="history.go(-1)" /></form>
</body>
</html>
